#!/usr/bin/node

const log = console.log;

let buf1 = new Buffer(256);
buf1[0] = 0;

log(`buf1 length: ${buf1.length}\n`);
log(buf1);

for(let i=0;i<buf1.length;i++){
  buf[i] = i;
}
log(buf1);

let buf2 = buf1.slice(245,256);
log('buf2:',buf2);




